package org.wangnian.validationdemo.model;

import javax.validation.constraints.NotBlank;

public class Book {

    @NotBlank(message = "书名不能为空")
    private String bookName;

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }
}
